package org.shangrila.wfm.eo;

import java.io.Serializable;
import javax.persistence.*;


/**
 * The persistent class for the WFM_NODE database table.
 * 
 */
@Entity
@Table(name="WFM_NODE")
@NamedQuery(name="WfmNode.findAll", query="SELECT w FROM WfmNode w")
public class WfmNode implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private String id;

	private String assignee;

	@Column(name="ASSIGNMENT_HANDLER")
	private String assignmentHandler;

	@Column(name="AUTO_EXECUTE")
	private String autoExecute;

	private String callback;

	@Column(name="DISPLAY_NAME")
	private String displayName;

	@Column(name="EXEC_URL")
	private String execUrl;

	@Column(name="EXPIRE_TIME")
	private String expireTime;

	private String expr;

	@Column(name="HANDLE_CLASS")
	private String handleClass;

	@Column(name="HANDLE_RESULT")
	private String handleResult;

	@Column(name="INSTANCE_NOCLASS")
	private String instanceNoclass;

	private String interceptors;

	private String layout;

	private String name;

	@Column(name="NODE_TYPE")
	private String nodeType;

	@Column(name="PERFORM_TYPE")
	private String performType;

	@Column(name="PREWARN_TIME")
	private String prewarnTime;

	@Column(name="REMINDER_REPEAT")
	private String reminderRepeat;

	@Column(name="REMINDER_TIME")
	private String reminderTime;

	private String seqno;

	@Column(name="SUBPROCESS_NAME")
	private String subprocessName;

	@Column(name="TASK_TYPE")
	private String taskType;

	@Column(name="\"VARIABLES\"")
	private String variables;

	@Column(name="WARN_TIME")
	private String warnTime;

	//bi-directional many-to-one association to WfmProcess
	@ManyToOne
	@JoinColumn(name="PROCESS_ID")
	private WfmProcess wfmProcess;

	public WfmNode() {
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getAssignee() {
		return this.assignee;
	}

	public void setAssignee(String assignee) {
		this.assignee = assignee;
	}

	public String getAssignmentHandler() {
		return this.assignmentHandler;
	}

	public void setAssignmentHandler(String assignmentHandler) {
		this.assignmentHandler = assignmentHandler;
	}

	public String getAutoExecute() {
		return this.autoExecute;
	}

	public void setAutoExecute(String autoExecute) {
		this.autoExecute = autoExecute;
	}

	public String getCallback() {
		return this.callback;
	}

	public void setCallback(String callback) {
		this.callback = callback;
	}

	public String getDisplayName() {
		return this.displayName;
	}

	public void setDisplayName(String displayName) {
		this.displayName = displayName;
	}

	public String getExecUrl() {
		return this.execUrl;
	}

	public void setExecUrl(String execUrl) {
		this.execUrl = execUrl;
	}

	public String getExpireTime() {
		return this.expireTime;
	}

	public void setExpireTime(String expireTime) {
		this.expireTime = expireTime;
	}

	public String getExpr() {
		return this.expr;
	}

	public void setExpr(String expr) {
		this.expr = expr;
	}

	public String getHandleClass() {
		return this.handleClass;
	}

	public void setHandleClass(String handleClass) {
		this.handleClass = handleClass;
	}

	public String getHandleResult() {
		return this.handleResult;
	}

	public void setHandleResult(String handleResult) {
		this.handleResult = handleResult;
	}

	public String getInstanceNoclass() {
		return this.instanceNoclass;
	}

	public void setInstanceNoclass(String instanceNoclass) {
		this.instanceNoclass = instanceNoclass;
	}

	public String getInterceptors() {
		return this.interceptors;
	}

	public void setInterceptors(String interceptors) {
		this.interceptors = interceptors;
	}

	public String getLayout() {
		return this.layout;
	}

	public void setLayout(String layout) {
		this.layout = layout;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNodeType() {
		return this.nodeType;
	}

	public void setNodeType(String nodeType) {
		this.nodeType = nodeType;
	}

	public String getPerformType() {
		return this.performType;
	}

	public void setPerformType(String performType) {
		this.performType = performType;
	}

	public String getPrewarnTime() {
		return this.prewarnTime;
	}

	public void setPrewarnTime(String prewarnTime) {
		this.prewarnTime = prewarnTime;
	}

	public String getReminderRepeat() {
		return this.reminderRepeat;
	}

	public void setReminderRepeat(String reminderRepeat) {
		this.reminderRepeat = reminderRepeat;
	}

	public String getReminderTime() {
		return this.reminderTime;
	}

	public void setReminderTime(String reminderTime) {
		this.reminderTime = reminderTime;
	}

	public String getSeqno() {
		return this.seqno;
	}

	public void setSeqno(String seqno) {
		this.seqno = seqno;
	}

	public String getSubprocessName() {
		return this.subprocessName;
	}

	public void setSubprocessName(String subprocessName) {
		this.subprocessName = subprocessName;
	}

	public String getTaskType() {
		return this.taskType;
	}

	public void setTaskType(String taskType) {
		this.taskType = taskType;
	}

	public String getVariables() {
		return this.variables;
	}

	public void setVariables(String variables) {
		this.variables = variables;
	}

	public String getWarnTime() {
		return this.warnTime;
	}

	public void setWarnTime(String warnTime) {
		this.warnTime = warnTime;
	}

	public WfmProcess getWfmProcess() {
		return this.wfmProcess;
	}

	public void setWfmProcess(WfmProcess wfmProcess) {
		this.wfmProcess = wfmProcess;
	}

}